package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialSupplementalRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialSupplementalPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialSupplementalDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialSupplementalDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialSupplementalDomainImpl extends BaseDomainImpl<ContractInitialSupplementalDto, ContractInitialSupplementalPo> implements ContractInitialSupplementalDomain {

    @Resource
    private ContractInitialSupplementalRepository contractInitialSupplementalRepository;

    @Override
    public BaseRepository<ContractInitialSupplementalPo> getMapper() {
        return contractInitialSupplementalRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialSupplementalPo>> getRepositoryClass() {
        return ContractInitialSupplementalRepository.class;
    }

}
